import request from '@/utils/request'

// 获取景点详情
export function getSpotDetail (spotId) {
  return request.get(`/wx/spots/${spotId}`)
}

// 搜索景点
export function searchSpots (keyword) {
  return request.get('/wx/spots/search', { keyword })
}

// 获取景点列表
export function getSpotList (params) {
  return request.get('/wx/spots/list', params)
}

